import request from '@/utils/request'

export function fetchList(query) {
  return request({
    url: '/api/user/serve/getPageServeList',
    method: 'post',
    data: query
  })
}

export function fetchUcService(data) {
  return request({
    url: '/api/user/serve/getUcServeDetail',
    method: 'post',
    data: data
  })
}

export function createUcService(data) {
  return request({
    url: '/api/user/serve/saveUcServe',
    method: 'post',
    data: data
  })
}

export function updateUcServe(data) {
  return request({
    url: '/api/user/serve/updateUcServe',
    method: 'post',
    data: data
  })
}
